int key = 2;
int deng = 14;
void setup() {
    pinMode(deng, OUTPUT);
    pinMode(key,INPUT);
  // put your setup code here, to run once:

}

void loop() {
  // put your main code here, to run repeatedly:
  if (digitalRead(key)==0)
      digitalWrite(deng,1);
  else
      digitalWrite(deng,0);


}
